package dean.box;

import com.badlogic.gdx.backends.android.AndroidApplication;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
import com.badlogic.gdx.backends.android.surfaceview.FillResolutionStrategy;

import dean.main.LibGDXBox2D;



import android.os.Bundle;

public class LibGDXBox2DAndroid extends AndroidApplication {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        AndroidApplicationConfiguration settings = new AndroidApplicationConfiguration();
        settings.resolutionStrategy = new FillResolutionStrategy();
        settings.touchSleepTime = 0;
        settings.useAccelerometer = true;
        settings.useCompass = true;
        settings.useGL20 = false;
        settings.useWakelock = false;
        
        initialize(new LibGDXBox2D(), settings);
    }
}